package com.example.demo.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

@Data
public class Articleinfo implements Serializable {
    private int id;
    private String title;//名称
    private String content;//内容
    //@JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8"),设置时间格式
    private LocalDateTime createtime;
    private LocalDateTime updatetime;
    private int uid;//对应的用户id
    private int rcount;//阅读量
    private int state;//状态
}
